package com.ruoyi.odorservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.odorservice.entity.Company;
import com.ruoyi.odorservice.model.vo.CompanyListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CompanyMapper extends BaseMapper<Company> {
    List<CompanyListVo> selectCompanyPage(@Param("offset") Integer offset, @Param("limit") Integer limit, @Param("companyName") String companyName);

    Integer selectCompanyPageCount(String companyName);
}
